package com.keba.lamp.file.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.keba.basic.base.entity.SuperEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static com.keba.lamp.model.constant.Condition.LIKE;


/**
 * <p>
 * 实体类
 * 业务附件
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-15 21:33:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("com_appendix")
public class Appendix extends SuperEntity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 业务id
     */
    @TableField(value = "biz_id", condition = EQUAL)
    private Long bizId;
    /**
     * 业务类型;同一个业务，不同的字段，需要分别设置不同的业务类型
     */
    @TableField(value = "biz_type", condition = LIKE)
    private String bizType;
    /**
     * 租户ID
     */
    @TableField(value = "tenant_id", condition = EQUAL)
    private Long tenantId;
    /**
     * 语音转换内容
     */
    @TableField(value = "file_content", condition = LIKE)
    private String fileContent;
    /**
     * 排序
     */
    @TableField(value = "sort_value", condition = EQUAL)
    private Integer sortValue;
    /**
     * 扩展列(诉讼状附件分组名称）
     */
    @TableField(value = "extend_column", condition = LIKE)
    private String extendColumn;



}
